(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  ["pages/article/details"], {
    "2f2b": function (t, e, n) {
      "use strict";
      var a = n("d9c4"),
        r = n.n(a);
      r.a
    },
    "4aad": function (t, e, n) {
      "use strict";
      n.r(e);
      var a = n("5cdc"),
        r = n("9c25");
      for (var o in r) "default" !== o && function (t) {
        n.d(e, t, (function () {
          return r[t]
        }))
      }(o);
      n("2f2b");
      var u, i = n("f0c5"),
        c = Object(i["a"])(r["default"], a["b"], a["c"], !1, null, null, null, !1, a["a"], u);
      e["default"] = c.exports
    },
    "4e08": function (t, e, n) {
      "use strict";
      Object.defineProperty(e, "__esModule", {
        value: !0
      }), e.default = void 0;
      var a = o(n("a34a")),
        r = o(n("cb63"));

      function o(t) {
        return t && t.__esModule ? t : {
          default: t
        }
      }

      function u(t, e, n, a, r, o, u) {
        try {
          var i = t[o](u),
            c = i.value
        } catch (s) {
          return void n(s)
        }
        i.done ? e(c) : Promise.resolve(c).then(a, r)
      }

      function i(t) {
        return function () {
          var e = this,
            n = arguments;
          return new Promise((function (a, r) {
            var o = t.apply(e, n);

            function i(t) {
              u(o, a, r, i, c, "next", t)
            }

            function c(t) {
              u(o, a, r, i, c, "throw", t)
            }
            i(void 0)
          }))
        }
      }
      var c = {
        data: function () {
          return {
            loadProgress: 0,
            detailsData: {}
          }
        },
        onLoad: function (t) {
          this.LoadProgress(), this.loadData({
            id: t.id
          }), this.$wanlshop.title(t.title)
        },
        methods: {
          loadData: function (t) {
            var e = this;
            return i(a.default.mark((function n() {
              return a.default.wrap((function (n) {
                while (1) switch (n.prev = n.next) {
                  case 0:
                    e.$api.get({
                      url: "/wanlshop/article/details",
                      data: t,
                      success: function (t) {

                        e.detailsData.content =  t.content.replace(/\<img/gi, '<img style="max-width:100%;height:auto" ') //正则替换

                      }
                    });
                  case 1:
                  case "end":
                    return n.stop()
                }
              }), n)
            })))()
          },
          LoadProgress: function () {
            var t = this;
            this.loadProgress = this.loadProgress + 2, this.loadProgress < 100 ? setTimeout((function () {
              t.LoadProgress()
            }), 100) : this.loadProgress = 0
          }
        }
      };
      e.default = c
    },
    "5cdc": function (t, e, n) {
      "use strict";
      var a;
      n.d(e, "b", (function () {
        return r
      })), n.d(e, "c", (function () {
        return o
      })), n.d(e, "a", (function () {
        return a
      }));
      var r = function () {
          var t = this,
            e = t.$createElement;
          t._self._c
        },
        o = []
    },
    "9c25": function (t, e, n) {
      "use strict";
      n.r(e);
      var a = n("4e08"),
        r = n.n(a);
      for (var o in a) "default" !== o && function (t) {
        n.d(e, t, (function () {
          return a[t]
        }))
      }(o);
      e["default"] = r.a
    },
    d9c4: function (t, e, n) {},
    dd65: function (t, e, n) {
      "use strict";
      (function (t) {
        n("77a0");
        a(n("66fd"));
        var e = a(n("4aad"));

        function a(t) {
          return t && t.__esModule ? t : {
            default: t
          }
        }
        t(e.default)
      }).call(this, n("543d")["createPage"])
    }
  },
  [
    ["dd65", "common/runtime", "common/vendor"]
  ]
]);
